package com.gitee.fsadmin.controller;

import com.gitee.fsadmin.common.annotation.NoToken;
import org.noear.solon.annotation.Controller;
import org.noear.solon.annotation.Get;
import org.noear.solon.annotation.Mapping;
import org.noear.solon.core.handle.Context;

@Controller
@NoToken
public class AdminHomeController {

    // 后台admin入口地址
    @Get
    @Mapping("/")
    public void index(Context context) {
        context.forward("/index.html");
    }

}
